package com.indexingsystem.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.MenusRelationsMapper;
import com.indexingsystem.boss.admin.mapper.MenusRelationsNewMapper;
import com.indexingsystem.boss.entity.MenusRelations;
import com.indexingsystem.boss.entity.MenusRelationsExample;
import com.indexingsystem.boss.entity.MenusRelationsKey;
import com.indexingsystem.boss.entity.MenusRelationsNew;
import com.indexingsystem.boss.entity.MenusRelationsNewExample;
import com.indexingsystem.boss.entity.MenusRelationsNewKey;
import com.indexingsystem.system.service.IMenusRelationsService;

@Service
public class MenusRelationsServiceImpl  implements IMenusRelationsService {

	
	
	@Resource
	private  MenusRelationsNewMapper  menusRelationsNewMapper;
	
	

	@Override
	public long countByExample(MenusRelationsNewExample example) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(MenusRelationsNewExample example) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(MenusRelationsNewKey key) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.deleteByPrimaryKey(key);
	}

	@Override
	public int insert(MenusRelationsNew record) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.insert(record);
	}

	@Override
	public int insertSelective(MenusRelationsNew record) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.insertSelective(record);
	}

	@Override
	public List<MenusRelationsNew> selectByExample(MenusRelationsNewExample example) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.selectByExample(example);
	}

	@Override
	public MenusRelationsNew selectByPrimaryKey(MenusRelationsNewKey key) {
		return menusRelationsNewMapper.selectByPrimaryKey(key);
	}

	@Override
	public int updateByExampleSelective(MenusRelationsNew record, MenusRelationsNewExample example) {
		return menusRelationsNewMapper.updateByExampleSelective(record,example);
	}

	@Override
	public int updateByExample(MenusRelationsNew record, MenusRelationsNewExample example) {
		return menusRelationsNewMapper.updateByExample(record,example);
	}

	@Override
	public int updateByPrimaryKeySelective(MenusRelationsNew record) {
		return menusRelationsNewMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(MenusRelationsNew record) {
		return menusRelationsNewMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public MenusRelationsNew selectByResCategoryName(String resCategoryName) {
		// TODO Auto-generated method stub
		return menusRelationsNewMapper.selectByResCategoryName(resCategoryName);
	}

}
